X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/d0950076b4ac797578bc4286a9f631196b4c00c7..bca44639c27169b0643de1b56361e6c2958d1d4a:/Super%20Polarity/SuperPolarity.cs diff --git a/Super Polarity/SuperPolarity.cs b/Super Polarity/SuperPolarity.cs index 8125f8c..9311d53 100644 --- a/Super Polarity/SuperPolarity.cs +++ b/Super Polarity/SuperPolarity.cs @@ -36,6 +36,8 @@ namespace SuperPolarity : base() { graphics = new GraphicsDeviceManager(this); + Components.Add(new GamerServicesComponent(this)); + graphics.PreferMultiSampling = true; graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 720; @@ -147,9 +149,13 @@ namespace SuperPolarity public void GameOver() { + var scoreScreen = new ScoreScreen(this); + scoreScreen.Initialize(); + MediaPlayer.Stop(); GameOverSound.Play(); ScreenManager.Pop(); + ScreenManager.Push(scoreScreen); } } }